<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
 <HEAD>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <TITLE>ThinkPHP示例：组件模块</TITLE>
<link rel='stylesheet' type='text/css' href='__PUBLIC__/Css/common.css'>
 </HEAD>
 <BODY>
 <div class="main">
 <H2>ThinkPHP示例之：组件模块</H2>
  ThinkPHP的组件化功能让模块的组装更加方便<BR>
 <TABLE  cellpadding=3 cellspacing=3>
  <TR>
	<TD ><div class="result">当前页面URL: <BR><span style="color:blue">{$Think.server.PHP_SELF} </span></div></TD>
 </TR>
 <TR>
	<TD class="tLeft" >组件模块的URL设计 <span style="color:blue">组件名@模块名/操作名</span> 其中@符号可以配置<BR>当前执行的是<span style="color:red">ThinkBlog</span>组件的<span style="color:red">Blog</span>模块下面的<span style="color:blue">index</span>操作，请注意查看Lib目录和Tpl目录下面的区别。
	</TD>
 </TR>
 <TR>
	<TD ><HR> 示例源码<BR>配置文件config.php<BR> <php>highlight_file(CONFIG_PATH.'config.php');</php><BR>
	组件ThinkBlog的Blog模块类<BR><php>highlight_file(LIB_PATH.'ThinkBlog/Action/BlogAction.class.php');</php><BR>
	</TD>
 </TR>
 </TABLE>
</div>
 </BODY>
</HTML>
